package com.xfn.service;


import java.util.List;
import java.util.Map;

public interface CarDataService {
    String carData(int pageNum, int pageSize,String type,String logmin,String logmax,String retrieval);
    String leaseCar(int pageNum, int pageSize);
    String paymentCar(int pageNum, int pageSize);
    int addCarData( String carName, String carType,String carNum, String userName, String fileName);

    int delData(List<Map<String,String>> list);

    int updateCar(int num,int id);

    int updateCarLease(int num,int id);

    int returnCar(String id,int num);

    int payMoney(String id,int leaseNum);
    int updatePwd(String pwd ,String userName);
}
